package com.hualan.sfzy.entity.subscribeConsult;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hualan.sfzy.entity.counselor.Counselor;
import com.hualan.sfzy.entity.system.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor


public class SubscribeConsult {
    private Integer id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date subscribeConsultTime;
    private String situationDescription;
    private Integer userId;
    private Integer counselorId;
    private Integer del;


    private Counselor counselor;
    private User user;

}
